Anesthesia monitoring system for respiratory rate